package com.moneywelcome.atomloanassembly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moneywelcome.atomloanassembly.dto.AmortizationDto;
import com.moneywelcome.atomloanassembly.dto.UserLoanInfoDto;
import com.moneywelcome.atomloanassembly.model.Amortization;
import com.moneywelcome.atomloanassembly.model.UserLoan;
import com.moneywelcome.atomloanfacade.param.UpdateAmortizationParam;

import java.text.ParseException;

public interface AmotizationService extends IService<Amortization> {

    AmortizationDto findandupdateAmortizationbyId(Integer userId) throws ParseException;

    AmortizationDto afterRepay(Integer userId );

}
